package com.qiaofang.applet.service.other.domain;

import com.qiaofang.applet.common.base.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Set;

@Data
@Document(collection = "other_assets")
@ApiModel("资讯服务表")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Assets extends BaseDomain {

    @ApiModelProperty("资讯服务类型ID")
    private String assetsTypeId;

    @ApiModelProperty("资讯标题")
    private String assetsTitle;

    @ApiModelProperty("资讯详情")
    private String assetsContent;

    @ApiModelProperty("资讯跳转url")
    private String assetsUrl;

    @ApiModelProperty("城市code集合")
    Set<String> cityCodes;
}
